<head><title>Daatum</title></head>
  <p></p>
  <div align="center" id="main">  
  <form action="/" method="post">
    <div>
      <h2>Daatum</h2> <input type="text" SIZE="100" name="query" value="{{ query }}"></input><input type="submit" value="Daatum Query"></input>
    </div>
  </form>
  </div>
  <HR>
  <table>
  <!-- Add headers -->
  <tr>
  <th>Page Name</th>
  {% for header in headers %}
    <th>{{ header }}</th>
  {% endfor %}
  </tr>
  <!--Add results-->
  {% for result in results %}
   <tr>
    <td>{{ result.name }}</td>
   {% for value in result.values %}
    <td>{{ value }}</td>
   {% endfor %}
   </tr>
  {% endfor %}
  </table>